snapcraft enable-ci does not work for Electron projects
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
There are two problems in enabling Travis builds of an Electron snap:
1) snapcraft enable-ci travis will blow up if it cannot find a snapcraft.yaml. The snapcraft.yaml file is created by electron-builder during an npm run and never retained.
2) Electron projects cannot be built by calling `snapcraft`. They must be built using `npm run dist` (or some other package.json script stanza). snapcraft enable-ci travis puts `snapcraft && snapcraft push *.snap --release edge` in the .travis.yml, which will not work.
Evaluation history
No evaluation history available.